package io.sage.form;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 注册表单
 *
 */
@ApiModel(value = "注册表单")
public class RegisterForm {
	
	@ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String username;
	
	@ApiModelProperty(value = "身份证")
	@NotBlank(message="身份证不能为空")
	private String idcards;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;
    
    //部门编号.
    @ApiModelProperty(value = "部门编号")
    @NotBlank(message="部门编号不能为空")
    private String deptNumber;
    
    //部门id.
    @ApiModelProperty(value = "部门id")
    @NotBlank(message="部门id不能为空")
    private String deptId;
    
    //验证码.
    @ApiModelProperty(value = "验证码")
    @NotBlank(message="验证码不能为空")
    private String checkCode;
    
	 //真实姓名.
    @ApiModelProperty(value = "真实姓名")
    @NotBlank(message="真实姓名不能为空")
	private String name;
	
	 //用户手机号.
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号")
	private String phone;

    public String getIdcards() {
		return idcards;
	}

	public void setIdcards(String idcards) {
		this.idcards = idcards;
	}

	public String getPassword() {
        return password;
    }

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setPassword(String password) {
        this.password = password;
    }

	public String getDeptNumber() {
		return deptNumber;
	}

	public void setDeptNumber(String deptNumber) {
		this.deptNumber = deptNumber;
	}


	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
	
	
}
